SftTree/OCX 7.0

SftTree.LeftItemClickOnly Property

Softel vdm, Inc.

Defines whether the tree control generates Item(Dbl)Click events only in response to the left mouse button.

Syntax       

Get

VB.NET

Boolean = object.LeftItemClickOnly  As Boolean

VB

Boolean = object.LeftItemClickOnly  As Boolean

C#.NET

bool Boolean = object.LeftItemClickOnly;

VC++

VARIANT_BOOL Boolean = object->LeftItemClickOnly;
VARIANT_BOOL Boolean = object->GetLeftItemClickOnly();

C

HRESULT object->get_LeftItemClickOnly(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.LeftItemClickOnly   : WordBool;

Put

VB.NET

object.LeftItemClickOnly = Boolean  As Boolean

VB

object.LeftItemClickOnly = Boolean  As Boolean

C#.NET

bool object.LeftItemClickOnly = Boolean;

VC++

VARIANT_BOOL object->LeftItemClickOnly = Boolean;
void object->PutLeftItemClickOnly(VARIANT_BOOL Boolean);

C

HRESULT object->put_LeftItemClickOnly(VARIANT_BOOL Boolean);

Delphi

object.LeftItemClickOnly := Boolean   : WordBool;

object

A SftTree object.

Boolean

Defines whether the tree control generates Item(Dbl)Click events only in response to the left mouse button.

Boolean

Description

True

Click, ItemClick, ItemClickAgain and ItemDblClick events are only generated for the left mouse button.

False

Click, ItemClick, ItemClickAgain and ItemDblClick events are generated for all mouse buttons.

Comments

The LeftItemClickOnly property defines whether the tree control generates Item(Dbl)Click events only in response to the left mouse button.

MouseDown are MouseUp are generated for all mouse buttons (provided the LeftButtonOnly property does not further limit these).

The LeftButtonOnly property can be used to completely ignore the right and middle mouse button.  If the LeftButtonOnly property is set to True, the LeftItemClickOnly property has no effect.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com